package com.cn.entity;

/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

	// Fields

	private Integer id;
	private Jobinfo jobinfo;
	private Department department;
	private String username;
	private String pass;
	private String phoneNo;
	private String officeTel;
	private Integer workStatu;
	private String realName;

	// Constructors

	/** default constructor */
	public Employee() {
	}

	/** minimal constructor */
	public Employee(String username, String pass, String phoneNo) {
		this.username = username;
		this.pass = pass;
		this.phoneNo = phoneNo;
	}

	/** full constructor */
	public Employee(Jobinfo jobinfo, Department department, String username, String pass, String phoneNo,
			String officeTel, Integer workStatu, String realName) {
		this.jobinfo = jobinfo;
		this.department = department;
		this.username = username;
		this.pass = pass;
		this.phoneNo = phoneNo;
		this.officeTel = officeTel;
		this.workStatu = workStatu;
		this.realName = realName;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Jobinfo getJobinfo() {
		return this.jobinfo;
	}

	public void setJobinfo(Jobinfo jobinfo) {
		this.jobinfo = jobinfo;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getOfficeTel() {
		return this.officeTel;
	}

	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}

	public Integer getWorkStatu() {
		return this.workStatu;
	}

	public void setWorkStatu(Integer workStatu) {
		this.workStatu = workStatu;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

}